package com.workstudy.wstudy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.workstudy.common.annotation.Excel;
import com.workstudy.common.core.domain.BaseEntity;

/**
 * 用户信用对象 wst_credit_user
 * 
 * @author sun
 * @date 2021-04-04
 */
public class WstCreditUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 信用ID */
    @Excel(name = "信用ID")
    private Long creditId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 删除 */
    @Excel(name = "删除")
    private Integer isDelete;

    private String remark;

    private WstCredit wstCredit;

    public WstCredit getWstCredit() {
        return wstCredit;
    }

    public void setWstCredit(WstCredit wstCredit) {
        this.wstCredit = wstCredit;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public WstCreditUser() {
    }

    public WstCreditUser(Long creditId, Long userId, Integer isDelete) {
        this.creditId = creditId;
        this.userId = userId;
        this.isDelete = isDelete;
    }

    public void setCreditId(Long creditId)
    {
        this.creditId = creditId;
    }

    public Long getCreditId() 
    {
        return creditId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete()
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("creditId", getCreditId())
            .append("userId", getUserId())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
